package com.utils;

public class Map {

    /**
     * map实体类
     * 1、私有的成员属性
     * 2、公共的get、set方法
     * 3、提供初始化构造方法
     */
   // #linkID=10628;roadnameflag=0;branch=3;dispclass=11;roadname=

    private int linkID;
    private int roadnameflag;
    private int branch;
    private int dispclass;
    private String roadname;

    public Map() {
    }

    public Map(int linkID, int roadnameflag, int branch, int dispclass, String roadname) {
        this.linkID = linkID;
        this.roadnameflag = roadnameflag;
        this.branch = branch;
        this.dispclass = dispclass;
        this.roadname = roadname;
    }

    public int getLinkID() {
        return linkID;
    }

    public void setLinkID(int linkID) {
        this.linkID = linkID;
    }

    public int getRoadnameflag() {
        return roadnameflag;
    }

    public void setRoadnameflag(int roadnameflag) {
        this.roadnameflag = roadnameflag;
    }

    public int getBranch() {
        return branch;
    }

    public void setBranch(int branch) {
        this.branch = branch;
    }

    public int getDispclass() {
        return dispclass;
    }

    public void setDispclass(int dispclass) {
        this.dispclass = dispclass;
    }

    public String getRoadname() {
        return roadname;
    }

    public void setRoadname(String roadname) {
        this.roadname = roadname;
    }

    // #linkID=10628;roadnameflag=0;branch=3;dispclass=11;roadname=
    @Override
    public String toString() {
        return "#" +
                "linkID=" + linkID +
                ";roadnameflag=" + roadnameflag +
                ";branch=" + branch +
                ";dispclass=" + dispclass +
                ";roadname=" + roadname ;
    }
}
